import request from '../../request';

export function getDashboardRequest() {
  return request({
    url: '/goods/amount/list',
  });
}

export function getTopTenRequest() {
  return request({
    url: '/goods/sale/top10',
  });
}
export function getFavorRequest() {
  return request({
    url: '/goods/category/favor',
  });
}
export function getCategorySaleRequest() {
  return request({
    url: '/goods/category/sale',
  });
}
export function getAddressSaleRequest() {
  return request({
    url: '/goods/amount/list',
  });
}

export function getCategoryCountRequest() {
  return request({
    url: '/goods/category/count',
  });
}
